package com.example.XueCuApp.Bean;

import android.os.Parcel;
import android.os.Parcelable;

public class RepeatPrintCheckRecordResultBean {


    /**
     * code : 200
     * message : 查询小票打印和重打信息成功!
     * data : {"orderBatchId":10000001460373,"businessOrgShortName":"丽江旅游集团","salePrice":48,"orderId":10000001674714,"paymentTypeName":"现金","productNum":2,"salePriceSum":96,"guideCertificateNo":"20190503","productName":"雪厨自助餐","guideCertificateName":"身份证","terminalName":"雪厨检票终端","orderCheckBatchNo":"120072318324201002","checkTime":"2020-07-23 18:32:42","orderNetType":"CKTDGP","settlementPrice":48,"guidePhone":"18860362955","guideName":"张一"}
     */

    private String code;
    private String message;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Parcelable {
        /**
         * orderBatchId : 10000001460373
         * businessOrgShortName : 丽江旅游集团
         * salePrice : 48
         * orderId : 10000001674714
         * paymentTypeName : 现金
         * productNum : 2
         * salePriceSum : 96
         * guideCertificateNo : 20190503
         * productName : 雪厨自助餐
         * guideCertificateName : 身份证
         * terminalName : 雪厨检票终端
         * orderCheckBatchNo : 120072318324201002
         * checkTime : 2020-07-23 18:32:42
         * orderNetType : CKTDGP
         * settlementPrice : 48
         * guidePhone : 18860362955
         * guideName : 张一
         */

        private long orderBatchId;
        private String businessOrgShortName;
        private int salePrice;
        private long orderId;
        private String paymentTypeName;
        private int productNum;
        private int salePriceSum;
        private String guideCertificateNo;
        private String productName;
        private String guideCertificateName;
        private String terminalName;
        private String orderCheckBatchNo;
        private String checkTime;
        private String orderNetType;
        private int settlementPrice;
        private String guidePhone;
        private String guideName;

        public DataBean() {
        }

        public DataBean(Parcel in) {
            orderBatchId = in.readLong();
            businessOrgShortName = in.readString();
            salePrice = in.readInt();
            orderId = in.readLong();
            paymentTypeName = in.readString();
            productNum = in.readInt();
            salePriceSum = in.readInt();
            guideCertificateNo = in.readString();
            productName = in.readString();
            guideCertificateName = in.readString();
            terminalName = in.readString();
            orderCheckBatchNo = in.readString();
            checkTime = in.readString();
            orderNetType = in.readString();
            settlementPrice = in.readInt();
            guidePhone = in.readString();
            guideName = in.readString();
        }

        public static final Creator<DataBean> CREATOR = new Creator<DataBean>() {
            @Override
            public DataBean createFromParcel(Parcel in) {
                return new DataBean(in);
            }

            @Override
            public DataBean[] newArray(int size) {
                return new DataBean[size];
            }
        };

        public long getOrderBatchId() {
            return orderBatchId;
        }

        public void setOrderBatchId(long orderBatchId) {
            this.orderBatchId = orderBatchId;
        }

        public String getBusinessOrgShortName() {
            return businessOrgShortName;
        }

        public void setBusinessOrgShortName(String businessOrgShortName) {
            this.businessOrgShortName = businessOrgShortName;
        }

        public int getSalePrice() {
            return salePrice;
        }

        public void setSalePrice(int salePrice) {
            this.salePrice = salePrice;
        }

        public long getOrderId() {
            return orderId;
        }

        public void setOrderId(long orderId) {
            this.orderId = orderId;
        }

        public String getPaymentTypeName() {
            return paymentTypeName;
        }

        public void setPaymentTypeName(String paymentTypeName) {
            this.paymentTypeName = paymentTypeName;
        }

        public int getProductNum() {
            return productNum;
        }

        public void setProductNum(int productNum) {
            this.productNum = productNum;
        }

        public int getSalePriceSum() {
            return salePriceSum;
        }

        public void setSalePriceSum(int salePriceSum) {
            this.salePriceSum = salePriceSum;
        }

        public String getGuideCertificateNo() {
            return guideCertificateNo;
        }

        public void setGuideCertificateNo(String guideCertificateNo) {
            this.guideCertificateNo = guideCertificateNo;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public String getGuideCertificateName() {
            return guideCertificateName;
        }

        public void setGuideCertificateName(String guideCertificateName) {
            this.guideCertificateName = guideCertificateName;
        }

        public String getTerminalName() {
            return terminalName;
        }

        public void setTerminalName(String terminalName) {
            this.terminalName = terminalName;
        }

        public String getOrderCheckBatchNo() {
            return orderCheckBatchNo;
        }

        public void setOrderCheckBatchNo(String orderCheckBatchNo) {
            this.orderCheckBatchNo = orderCheckBatchNo;
        }

        public String getCheckTime() {
            return checkTime;
        }

        public void setCheckTime(String checkTime) {
            this.checkTime = checkTime;
        }

        public String getOrderNetType() {
            return orderNetType;
        }

        public void setOrderNetType(String orderNetType) {
            this.orderNetType = orderNetType;
        }

        public int getSettlementPrice() {
            return settlementPrice;
        }

        public void setSettlementPrice(int settlementPrice) {
            this.settlementPrice = settlementPrice;
        }

        public String getGuidePhone() {
            return guidePhone;
        }

        public void setGuidePhone(String guidePhone) {
            this.guidePhone = guidePhone;
        }

        public String getGuideName() {
            return guideName;
        }

        public void setGuideName(String guideName) {
            this.guideName = guideName;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeLong(orderBatchId);
            dest.writeString(businessOrgShortName);
            dest.writeInt(salePrice);
            dest.writeLong(orderId);
            dest.writeString(paymentTypeName);
            dest.writeInt(productNum);
            dest.writeInt(salePriceSum);
            dest.writeString(guideCertificateNo);
            dest.writeString(productName);
            dest.writeString(guideCertificateName);
            dest.writeString(terminalName);
            dest.writeString(orderCheckBatchNo);
            dest.writeString(checkTime);
            dest.writeString(orderNetType);
            dest.writeInt(settlementPrice);
            dest.writeString(guidePhone);
            dest.writeString(guideName);
        }
    }
}
